package com.zgyd.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zgyd.domin.ChatHistory;
import org.springframework.ai.chat.messages.Message;

import java.util.List;

public interface IChatHistoryService extends IService<ChatHistory> {
    public void saveChatHistory(String type, String chatId);

    public List<String> getChatIds(String type);

    public List<Message> findByConversationId(String conversationId);
}